/// <reference path="MathUtility.js"/>

function MathUtilityTests()
{
    this.testAddPositiveNumbers = function()
    {
        // Arrange
        var mathUtility = new MathUtility();
        
        // Act
        var result = mathUtility.add(1,3);

        // Assert
        fireunit.ok(result === 4, "Test add positive numbers");        
    }

    this.testAddNegativeNumbers = function()
    {
        // Arrange
        var mathUtility = new MathUtility();

        // Act
        var result = mathUtility.add(-1,-3);

        // Assert
        fireunit.ok(result === 4, "Test add negative numbers");        
    }


    this.testAddNegativeAndPositiveNumbers = function()
    {
        // Arrange
        var mathUtility = new MathUtility();

        // Act
        var result = mathUtility.add(-1,3);

        // Assert
        fireunit.ok(result === 2, "Test add negative and positive numbers");        
    }
}
